package com.ruoyi.hr.mapper.entryexitmanage.entrymanage;


import java.util.List;
import java.util.Map;

public interface EntryBackgroundMapper {

    /**
     * 根据表获取所有字段名
     */
    public List<String> getTableColumn(String tableName);


    /**
     * 获取教育信息
     *
     * @param id
     * @return
     */
    List<Map<String, Object>> getEducationList(String id);
    int addEducation(Map map);
    Map<String,Object> getEducation(String id);
    int deleteEducation(String id);
    int editEducation(Map map);

    /**
     * 获取工作经历
     * @param id
     * @return
     */
    List<Map<String,Object>> getWorkingList(String id);
    int addWorking(Map map);
    Map<String,Object> getWorking(String id);
    int editWorking(Map map);
    int deleteWorking(String id);

    /**
     * 获取职称/资格证书
     * @param id
     * @return
     */
    List<Map<String,Object>> getTitleList(String id);
    int addTitle(Map map);
    Map<String,Object> getTitle(String id);
    int editTitle(Map map);
    int deleteTitle(String id);

    /**
     * 获取培训经历
     * @param id
     * @return
     */
    List<Map<String,Object>> getTrainingList(String id);
    int addTraining(Map map);
    Map<String,Object> getTraining(String id);
    int editTraining(Map map);
    int deleteTraining(String id);

    /**
     * 获取项目经历
     * @param id
     * @return
     */
    List<Map<String,Object>> getProjectList(String id);
    int addProject(Map map);
    Map<String,Object> getProject(String id);
    int editProject(Map map);
    int deleteProject(String id);

    /**
     * 惩奖经历
     * @param id
     * @return
     */
    List<Map<String,Object>> getHortationList(String id);
    int addHortation(Map map);
    Map<String,Object> getHortation(String id);
    int editHortation(Map map);
    int deleteHortation(String id);

    /**
     * 家庭背景
     * @param id
     * @return
     */
    List<Map<String,Object>> getFamilyList(String id);
    int addFamily(Map map);
    Map<String,Object> getFamily(String id);
    int editFamily(Map map);
    int deleteFamily(String id);

    /**
     * 语言能力
     * @param id
     * @return
     */
    List<Map<String,Object>> getLanguageList(String id);
    int addLanguage(Map map);
    Map<String,Object> getLanguage(String id);
    int editLanguage(Map map);
    int deleteLanguage(String id);


    /**
     * 紧急联系人
     * @param id
     * @return
     */
    List<Map<String,Object>> getEmergencyList(String id);
    int addEmergency(Map map);
    Map<String,Object> getEmergency(String id);
    int editEmergency(Map map);
    int deleteEmergency(String id);


    /**
     * 证件管理
     * @param id
     * @return
     */
    List<Map<String,Object>> getCertificateList(String id);
    int addCertificate(Map map);
    Map<String,Object> getCertificate(String id);
    int editCertificate(Map map);
    int deleteCertificate(String id);
}
